package engine.social
{
	import engine.core.*;
	import flash.events.*;
	import game.actor.*;
	import game.messages.party.*;
	import game.network.*;
	import game.ui.core.*;
	
	public class RxPartyManager
	{
		private var m_sentInvites:Object;
		private var m_receivedInvitesMap:Object;
		private var m_acceptedInvite:RxParty_GotInvite;
		private var m_partyMembers:Vector.<RxFriend>;
		private var m_lastSocialId:String;
		public static const MAX_PARTY_SIZE:int = 2;
		private static var s_instance:RxPartyManager;
		
		public function RxPartyManager()
		{
			this.m_sentInvites = {};
			this.m_receivedInvitesMap = {};
			if (s_instance)
			{
				RxLog.Error("Duplicate PartyManager was instantiated!");
			}
			s_instance = this;
			this.m_partyMembers = new Vector.<RxFriend>;
		}
	}
}